# @Time    : 2022/7/16 11:27
# @Author  : mobai
# @Email   : 3111283671@qq.com
# @File    : cksj_page.py
# @Software: PyCharm

import unittest
from time import sleep
from selenium import webdriver
from selenium.webdriver.common.by import By
from pages.base_pageage import BasePage
from selenium.webdriver.support.select import Select
from pages.shangji_page import ShangJiPage


class CksjPage(ShangJiPage):
    """查看商机详情页面"""
    url = "http://192.168.1.151/crm/index.php?m=business&a=view&id=7"
    TJLS = (By.CSS_SELECTOR, "#left_list > li:nth-child(3) > a")

    def tjls(self):
        """点击推进历史"""
        self.driver.find_element(*self.TJLS).click()
